package com.news.util;


public class CodeGenerater {
    public static int getRandomCode() {
        return (int) (Math.random() * 900000 + 100000);
    }

    public static void main(String[] args) {
        System.out.println(getRandomCode());
    }
}
